package com.it.controller;

import com.it.Iuser.Users;
import com.it.Service.IService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/user")
public class ssmController {
    @Autowired
    private IService iService;
    @RequestMapping("/list")
    public String save(Users users){
        System.out.println("用户信息");
        iService.save(users);
        return "/success";
    }

}
